import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as Icons from '@element-plus/icons-vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

import '@/assets/css/global.css'

const app = createApp(App)


Object.keys(Icons).forEach((key) => {

    app.component(key, Icons[key]);

});

app.use(store).use(router).use(ElementPlus, {
    locale: zhCn,
    size: 'small'
}).mount('#app')
